<div class='fui-page  fui-page-current' ng-if="pagedata.op == 'main'">
	<div class='fui-content member-page'>
		<div class="headinfo" style="background:{{main.syscolor || '#7c1cc9'}};padding-bottom:0.5rem">		
					<div class="mod-member" style="margin-top:0;background:none;border: 0 solid #f2f2f2;">
						<div class="headinfo" style="background:none;padding:0;color:#f2f2f2">
												<div class="child userinfo" style="padding-bottom:5px;color:#f2f2f2;width:4rem">
													<div class="face" style="margin-right:0.6rem;" href="javascript:;" ng-click="access_json('core/member.cavatar/')">
															<img ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}" />
															<span class="vip" style="top: 2rem;background: {{main.syscolor || '#4491F1'}} none repeat scroll 0 0;"><i class="icon icon-vip5" style="font-size:0.5rem;padding-left:0.1rem"></i></span>
													</div>
												</div>
												<div class="child userinfo" style="padding-bottom:0;color:#f2f2f2;flex: 1;text-align:left;">
													<div class="l bold" style="width:100%">{{pagedata.member.nickname}} </div>
													<div class="l">
														<div style="width:100%;font-size:12px" href="javascript:;" ng-click="access_json('jy_yuyue/home/set')">MID:{{pagedata.member.mid}} 手机: {{pagedata.member.mobile}} <i class="icon icon-set" style="color:#fff;font-size:0.65rem"></i></div>
														<div class="level" ng-if="pagedata.user.isvip==1 && pagedata.user.vipstatus ==1" href="javascript:;" ng-click="access_json('jy_yuyue/buyvip/')">
															VIP到期时间:{{pagedata.user.viptime}} <span class="fui-tag-red-o" style="padding:0.13rem 0.2rem;font-size:0.7rem;line-height:0.5rem;height:0.8rem;margin-top:-0.1rem"> 续费VIP</span>
														</div>
														<div class="level" ng-if="pagedata.user.isvip==1 && pagedata.user.vipstatus ==2" href="javascript:;" ng-click="access_json('jy_yuyue/buyvip/')">
															VIP已过期 <span class="fui-tag-red-o"  style="padding:0.13rem 0.2rem;font-size:0.7rem;line-height:0.5rem;height:0.8rem;margin-top:-0.1rem">续费VIP</span>
														</div>
														<div class="level" ng-if="pagedata.user.isvip==0 && pagedata.vip.openvip==1" href="javascript:;" ng-click="access_json('jy_yuyue/buyvip/')">
															<span class="fui-tag-red-o" style="padding:0.13rem 0.2rem;font-size:0.7rem;line-height:0.5rem;height:0.8rem;margin-top:-0.1rem">激活VIP</span>
														</div>
													</div>
												</div>
									
						</div>
					</div>
		</div>
		<div class="jy-content">
		<div class="fui-cell-group fui-cell-click mod-group" style="margin-top:0.5rem">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json('core/member.xunibi/')">
								<div class="fui-cell-text bold">我的钱包</div>
								<div class="fui-cell-remark" style="font-size: 0.65rem;">查看我的钱包</div>
							</a>
							<div class="fui-icon-group col-4 selecter">
								<div ng-repeat="(key,item) in pagedata.credit_types" class="fui-icon-col-sm external" style="margin:0">
									<div ng-click="access_json('core/member.xunibi//type='+key)">
										<div class="text bold" style="color:{{main.syscolor || '#7c1cc9'}}">{{item.fee || '0.00'}}</div>
										<div class="subtitle" style="font-size:12px;color: #666;">{{item.title}} <span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
									</div>
								</div>
							</div>
		</div>
		<div class="weui_cells weui_cells_access" style="margin-top:0.5rem">
            <a class="weui_cell" href="javascript:;" ng-click="access_json('jy_yuyue/order/')">
                <div class="weui_cell_hd"><i class="icon icon-quanbudingdan" style="font-size:0.9rem"></i></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <span>我的预约</span>
                </div>
                <div class="weui_cell_ft"></div>
            </a>
            <a class="weui_cell" onclick="$('#show_vipcard').modal();">
                <div class="weui_cell_hd"><i class="icon jinyunicon icon-erweima" style="font-size:0.9rem"></i></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <span>会员卡</span>
                </div>
                <div class="weui_cell_ft"></div>
            </a>

			<a ng-if="pagedata.workerid>0" class="weui_cell" href="javascript:;" ng-click="access_json('jy_yuyue/worker_home/')">
                <div class="weui_cell_hd"><i class="icon jinyunicon icon-wo1" style="font-size:0.9rem"></i></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <span>服务员中心</span>
                </div>
                <div class="weui_cell_ft"></div>
            </a>
			<a ng-if="pagedata.isruzhu==1" class="weui_cell" href="javascript:;" ng-click="access_json('jy_yuyue/worker_home/ruzhu/')">
                <div class="weui_cell_hd"><i class="icon jinyunicon icon-wo1" style="font-size:0.9rem"></i></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <span>入驻服务员</span>
                </div>
                <div class="weui_cell_ft"></div>
            </a>
        </div>
		<div class="fui-cell-group fui-cell-click" style="background:none">
				<a class="fui-cell external changepwd" href="javascript:;" ng-click="access_json('core/member.cpassword/')">
					<div class="fui-cell-text" style="text-align: center;">修改密码</div>
				</a>
				<a class="fui-cell external btn-logout" ng-click="post_json('core/member.logout/')">
					<div class="fui-cell-text" style="text-align: center;">退出登录</div>
				</a>
		</div>
		</div>
	</div>
</div>
<div id="show_vipcard"  class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
		<div class="modal-dialog" style="top:30%;">
			<div class="memlogo-area" style="background:url({{tomedia(pagedata.member.cardbg) || '../core/resource/images/cardbg.png'}}) no-repeat 100%">
                    <div class="memlogo">
                        <img ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}">
                    </div>
                    <div class="name">{{pagedata.member.nickname || '匿名'}}</div>
                    <br>
                    <div class="name">{{pagedata.member.mobile || '无手机号'}}</div>
                    <div class="code">
                        <img ng-src="{{tomedia(pagedata.account.logo) || '../core/resource/images/wxappicon.png'}}">
                    </div>
                    <div class="bot">
						<img id="barcode"/>
                        <span class="r-f">{{pagedata.member.group}}</span>
                    </div>
            </div>
		</div>
</div>
<div ng-if="pagedata.op == 'set'">
<div class="fui-header">
		<div class="fui-header-left" onclick="window.history.go(-1);">
            <a class="back"></a>
        </div>
		<div class="title">个人设置</div>
		<div class="fui-header-right"></div>
</div>
<div class="fui-list-group merchgroup" ng-click="" style="margin-top:58px">
				<div class="fui-list jump">
					<a class="fui-list-media" ng-if="pagedata.item.headimg">
						<img class="round" src="{{tomedia(pagedata.item.headimg) || '../core/resource/images/nopic.jpg'}}" />
					</a>
					<a class="fui-list-media weui_uploader_input_wrp">
						<input class="weui_uploader_input" ng-click="up_file(pagedata.item,'headimg','image')" accept="image/jpg,image/jpeg,image/png,image/gif" multiple="">
					</a>
				</div>
</div>
<div class="weui_cells weui_cells_form">
			  <div class="weui_cell weui_vcode">
                <div class="weui_cell_hd"><label class="weui_label">姓名</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="text" ng-model="pagedata.item.name" placeholder="请输入您的真实姓名">
                </div>
            </div>
            <div class="weui_cell weui_vcode">
                <div class="weui_cell_hd"><label class="weui_label">手机</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="text" ng-model="pagedata.item.mobile" placeholder="请输入您的手机号码">
                </div>
            </div>
			<div class="weui_cell">
                <div class="weui_cell_hd"><label for="" class="weui_label">地址</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" ng-model="pagedata.item.address" type="text" value="" placeholder="">
                </div>
                <div class="weui_cell_ft">
                    <i class="icon jinyunicon icon-ditu"></i>
                </div>
        </div>
</div>
<div class="weui_btn_area">
		 <a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips" ng-click="post(pagedata.item,'set')">提交</a>
</div>
</div>
<div ng-include="sys_html('_footer')"></div>